From an idea by Jerry Kindall
The DeSpammer automatically closes frontmost windows of a specific size. This is handy for sites like GeoCities and Tripod which periodically pop up windows containing advertisements.
Choose Grab front window from the button's popup menu to define a window you wish to close automatically with DeSpammer. The script will ask you to name the window. This name can be anything; it's just a reference to help you identify which window is which.
Choose Delete entire list to nuke all window settings.
Choose one of the windows listed under Delete item: to remove a single window from the DeSpam list.
You can turn the DeSpammer on and off, in case the thing starts getting weird on you. The DeSpammer uses a window switch schedule that can interfere with other scripts. Specifically, it prematurely ends loops (FOR, WHILE, REPEAT, etc.) in scripts that open a window. If a button on another palette isn't working as it should, try turning the DeSpammer off.